package main

import (
	"code.byted.org/mobaijie/sender/ali_oss"
	"code.byted.org/mobaijie/sender/handler"
	"context"
	"github.com/sirupsen/logrus"
)

func main() {
	log := logrus.New()
	ctx := context.Background()
	ali_oss.InitOssClient()
	err := handler.SendDifferentPartToSmtpServer(ctx)

	if err != nil {
		log.Errorf("send different part to server fail, err: %s", err.Error())
		return
	}
	log.Infof("send different part to server success")
}
